using System;
using FBGraph.Models;

namespace FBGraph.Controllers
{
    /// <summary>The user's posted links. Requires the read_stream permission</summary>
    public partial class LinksController : FBGraphController, IFBGraphConnectionController<Post>
    {
        /// <summary>Initializes an instance of <see cref="LinksController" />.</summary>
        public LinksController(IFBGraphContext context)
            : base(context)
        {
        }
        
        /// <summary>Gets the name of the connection the <see cref="LinksController" /> handles requests for.</summary>
        String IFBGraphConnectionController<Post>.ConnectionName
        {
            get
            {
                return "links";
            }
        }
    }
}